import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/ad_ver_type_entity.g.dart';
import 'dart:convert';
export 'package:flutter_taotaoshipin/generated/json/ad_ver_type_entity.g.dart';

@JsonSerializable()
class AdVerTypeEntity {
	String? ver = '';
	@JSONField(name: "adver_type")
	int? adverType = 0;
	@JSONField(name: "image_url")
	String? imageUrl = '';
	@JSONField(name: "promotion_url")
	String? promotionUrl = '';
	@JSONField(name: "is_csj")
	String? isCsj = '';
	String? amount = '';

	AdVerTypeEntity();

	factory AdVerTypeEntity.fromJson(Map<String, dynamic> json) => $AdVerTypeEntityFromJson(json);

	Map<String, dynamic> toJson() => $AdVerTypeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}